package io.gitee.hechenl.fastiotreport.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.gitee.hechenl.fastiotreport.domain.model.EnergyHalf;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

public interface EnergyHalfMapper extends BaseMapper<EnergyHalf> {

    BigDecimal sumValue(
            @Param("pointIds") List<String> pointIds,
            @Param("start") LocalDateTime start, @Param("end") LocalDateTime end);
}
